<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <title>币助手</title>
    <link rel="stylesheet" href="http://ov0lumvwf.bkt.clouddn.com/web/detail/css/swiper.min.css">
    <link href="http://vjs.zencdn.net/6.6.3/video-js.css" rel="stylesheet">
    <link rel="stylesheet" href="css/css_2.css"/>
    <script src="https://unpkg.com/video.js@6.7.3/dist/video.js"></script>

    <!-- If you'd like to support IE8 -->
    <script src="http://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js"></script>
</head>
<body>
<div class="author">
    <div class="follow">
        <div class="follow_l">
            <div class="follow_l_l" style="background-image: url('http://ov0lumvwf.bkt.clouddn.com/web/detail/image/pc_09.jpg');"></div>
            <div class="follow_l_r">
                <div class="follow_l_name">张希</div>
                <div class="follow_l_time">55分钟前</div>
            </div>
        </div>
        <div class="follow_r"><img src="http://ov0lumvwf.bkt.clouddn.com/web/detail/css/0pc_30.png">关注</div> <!--添加关注-->
        <!--<div class="follow_r follow_cancel">取消关注</div>--> <!--取消关注-->
    </div>
</div>
<div class="container paddingTop2">  <!--paddingTop头部放广告  paddingTop2头部没东西-->
    <div class="title">
        比特币现金BCH开发者提议将区块大小增加到32MB
    </div>
    <div class="follow" id="follow">
        <div class="follow_l">
            <div class="follow_l_l" style="background-image: url('http://ov0lumvwf.bkt.clouddn.com/web/detail/image/pc_09.jpg');"></div>
            <div class="follow_l_r">
                <div class="follow_l_name">张希</div>
                <div class="follow_l_time">55分钟前</div>
            </div>
        </div>
        <!--<div class="follow_r"><img src="http://ov0lumvwf.bkt.clouddn.com/web/detail/css/0pc_30.png">关注</div>--> <!--添加关注-->
        <div class="follow_r follow_cancel">取消关注</div> <!--取消关注-->
    </div>
    <script>
        ( function (labour) {
            labour.follow();
        })({
            className:function (e,callback) {
                var list = document.getElementsByClassName(e);
                var len = list.length;
                for(var i=0; i<len; i++){
                    callback(list[i],i)
                }
                return this;
            },
            follow:function () {
                var that = this;
                return that.className("follow",function (dom,i) {
                    if(i == 1) {
                        that.scrollTop = 0;
                        var h = dom.offsetTop;//元素到顶部的距离
                        window.onscroll = function () {
                            var scro = document.body.scrollTop + document.documentElement.scrollTop//滑动高度
                            var top = dom.getBoundingClientRect().top;
                            var scrollHeight = document.body.scrollHeight - window.screen.height //页面高度-屏幕高度
                            scrollHeight = scrollHeight>0?scrollHeight:window.screen.height;
                            var height = dom.offsetHeight;//元素的高度
                            console.log(h+height,scro);
                            //alert(h+height+","+scro+","+scrollHeight+","+height)
                            //console.log(document.body.scrollHeight,window.screen.height,scro,top+height,top,height,h)
                            if( h+height< scro && scro < scrollHeight-height){
                                if(that.scrollTop > scro){
                                    that.className("author",function (author,a) {
                                        author.className = "author";
                                    })
                                    that.scrollTop = scro;
                                }else {
                                    that.className("author",function (author,a) {
                                        author.className = "author author_action";
                                    })
                                    that.scrollTop = scro;
                                }
                            }else if(scro > scrollHeight-height){

                                that.className("author",function (author,a) {
                                    author.className = "author author_action";
                                })
                                that.scrollTop = scro;

                            }else{
                                that.className("author",function (author,a) {
                                    author.className = "author";
                                })
                            }
                        }
                    }else return
                })

            }
        })
    </script>
    <div class="wenzhang">
        <div class="wenzhang_n">
            <div class="content">
                <!--视频要加图片-->
                <video id="my-video" class="video-js" controls preload="auto" poster="http://ov0lumvwf.bkt.clouddn.com/web/detail/image/pc_18.jpg" x5-playsinline="" webkit-playsinline="true" playsinline="true">
                    <source src="http://ov0lumvwf.bkt.clouddn.com/web/detail/image/movie.mp4" type='video/mp4'>
                    <p class="vjs-no-js">
                        To view this video please enable JavaScript, and consider upgrading to a web browser that
                        <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a>
                    </p>
                </video>
            </div>
            <script type="text/javascript">
                var player = videojs('my-video');
            </script>
            <div class="content_infor">
                <div><span>本文来源：</span><span>金色财经</span></div>
                <div><span>责任编辑：</span><span>邵小波</span></div>
            </div>
        </div>
    </div>
</div>
<div class="statement">
    声明：币助手经登载此文出于传递更多信息之目的
    并不意味着赞同其观点或证实其描述。文章内容仅
    供参考，不构成投资建议。投资者据此操作，风险
    自担。
</div>
<div class="NewsCenter">
    <div class="NewsTitle">
        <div class="xian"></div><div class="newtitle">相关新闻</div>
    </div>
    <div class="News_list">
        <ul>
            <li>
                <div class="tupian" style="background-image: url('https://p0.ssl.qhimg.com/t013da4caf8eda00d70.jpg')">
                </div>
                <div class="infor">
                    <div>最重要</div>
                    <p><span>姚远</span><span>20分钟前</span></p>
                </div>
            </li>
            <li>
                <div class="tupian" style="background-image: url('https://p0.ssl.qhimg.com/t013da4caf8eda00d70.jpg')">
                </div>
                <div class="infor">
                    <div>最重要的企业战略，最可怕的社会变革</div>
                    <p><span>姚远</span><span>20分钟前</span></p>
                </div>
            </li>
            <li>
                <div class="tupian" style="background-image: url('https://p0.ssl.qhimg.com/t013da4caf8eda00d70.jpg')">
                </div>
                <div class="infor">
                    <div>最重要的企业战略，最可怕的社会变革</div>
                    <p><span>姚远</span><span>20分钟前</span></p>
                </div>
            </li>
            <li>
                <div class="tupian" style="background-image: url('https://p0.ssl.qhimg.com/t013da4caf8eda00d70.jpg')">
                </div>
                <div class="infor">
                    <div>最重要的企业战略，最可怕的社会变革</div>
                    <p><span>姚远</span><span>20分钟前</span></p>
                </div>
            </li>
            <li>
                <div class="tupian" style="background-image: url('https://p0.ssl.qhimg.com/t013da4caf8eda00d70.jpg')">
                </div>
                <div class="infor">
                    <div>最重要的企业战略，最可怕的社会变革</div>
                    <p><span>姚远</span><span>20分钟前</span></p>
                </div>
            </li>
        </ul>
    </div>
</div>
</body>
<script src="js/base.js"></script>
</html>